package com.achang.achangmall.product.service;

import com.achang.achangmall.product.entity.SpuInfoDescEntity;
import com.achang.achangmall.product.vo.SpuSaveVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.achang.common.utils.PageUtils;
import com.achang.achangmall.product.entity.SpuInfoEntity;

import java.util.Map;

/**
 * spu信息
 *
 * @author achang
 * @email 995931576@qq.com
 * @date 2021-09-20 21:40:41
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo vo);

    void saveSpuInfoDesc(SpuInfoDescEntity spuInfoDescEntity);


    void saveBaseSpuInfo(SpuInfoEntity spuInfoEntity);

    PageUtils queryPageByCondition(Map<String, Object> params);

    void up(Long spuId);

    SpuInfoEntity getSpuInfoBySkuId(Long skuId);

}

